import json



def jsondata_load(file_path):
    with open(file_path,encoding='utf-8') as f:
        info=json.load(f)
        list=[]
        for dict in info:
            list.append(tuple(dict.values()))
        return list
# def jsondata_load_1():
#     with open(config.BASE_DIR + '/data/add_emp.json',encoding='utf-8') as f:
#         info=json.load(f)
#         list=[]
#         for dict in info:
#             list.append(tuple(dict.values()))
#         return list
# def jsondata_load_2():
#     with open(config.BASE_DIR + '/data/query_emp.json',encoding='utf-8') as f:
#         info=json.load(f)
#         list=[]
#         for dict in info:
#             list.append(tuple(dict.values()))
#         return list


